package cn.highedu.entity;

import java.io.Serializable;
import java.time.LocalDate;

public class User implements Serializable {
    private String name;
    private String gender;
    private String password;
    private LocalDate date;

    public User(){
    }

    public User(String name, String gender, String password, LocalDate date) {
        this.name = name;
        this.gender = gender;
        this.password = password;
        this.date = date;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public LocalDate getDate() {
        return date;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", password='" + password + '\'' +
                ", date=" + date +
                '}';
    }
}
